Skip to content

Add cflinuxfs5 JVM support via new openjdk dependency naming - fix jruby test#1134

Merged
tnikolova82 merged 2 commits intomasterfrom
fix-jruby-openjdk-cflinuxfs5
Apr 8, 2026
Merged

Add cflinuxfs5 JVM support via new openjdk dependency naming - fix jruby test#1134
tnikolova82 merged 2 commits intomasterfrom
fix-jruby-openjdk-cflinuxfs5

Conversation

@ivanovac
Copy link
Copy Markdown
Contributor

@ivanovac ivanovac commented Apr 7, 2026

Add cflinuxfs5 JVM support via new openjdk dependency naming

The dependency-builds pipeline no longer produces openjdk1.8-latest artifacts for cflinuxfs5.
It now publishes openjdk with semantic versioning (8.x, 11.x, 17.x, etc.) using Adoptium Temurin JREs,
which extract to a top-level directory unlike the old flat bionic tarballs.

  • Add openjdk 17.0.13 (Temurin JRE) to manifest.yml for cflinuxfs5
  • Update InstallJVM to detect the new dep name via AllDependencyVersions and use InstallOnlyVersionWithStrip (strip=1) for the new tarballs, falling back to openjdk1.8-latest for cflinuxfs3/4
  • Add InstallOnlyVersionWithStrip to the Installer interface and mock
  • Add unit tests covering both the legacy and new code paths

@tnikolova82 tnikolova82 merged commit 2a4eca1 into master Apr 8, 2026
7 checks passed
@tnikolova82 tnikolova82 deleted the fix-jruby-openjdk-cflinuxfs5 branch April 8, 2026 07:02
ivanovac added a commit that referenced this pull request Apr 21, 2026
JRuby applications require significant startup time due to JVM initialization and warmup. On resource-constrained CI workers, especially with cflinuxfs5 (Ubuntu 24.04 + OpenJDK 17), startup can exceed 180 seconds, causing flaky test failures.

Changes:
- Increase CF app timeout: 180s → 300s
- Increase test polling timeout: 3min → 5min
- Update comments to reflect cflinuxfs5 compatibility

This reduces flaky failures while maintaining reasonable test times for apps that are truly broken.

Relates to:
- PR #1088: Initial timeout increase to 180s
- PR #1090: Test polling timeout increase to 3min
- PR #1134: OpenJDK cflinuxfs5 support
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants